﻿@model LeEdu.MODEL.Exam
@using LeEdu.MODEL;
@{
    Layout = null;
}

<!DOCTYPE html>

<script>
    //页面同步刷新
    //姓名
    var change = function (sel) {
        document.getElementById("ssss").value = sel.value;
    }


</script>
<html>
<head>
    <!-- 网页头部分布视图 -->
    @Html.Partial("~/Views/Shared/HouTai_Header.cshtml")
    <meta name="viewport" content="width=device-width" />
    <title>CheckExam</title>

</head>
<body>
    <!-- 网页导航菜单分布视图 -->
    @Html.Partial("~/Views/Shared/HouTai_DaoHang.cshtml")




    



        <div id="content-container" class="container">
           
                <div class="es-section testpaper-heading">
                    <div class="testpaper-titlebar clearfix">
                        <h1 class="testpaper-title">全文 <br><small class="text-sm">答题人：全文 交卷时间：2016-4-13 22:32 用时：00:30</small></h1>
                        <div class="testpaper-status">
                            <div class="label label-info">批阅中</div>
                        </div>
                    </div>

                    <div class="media testpaper-result">
                        <div class="testpaper-result-total">
                            <div class="well">
                                <div class="testpaper-result-total-score">? <small>分</small></div>
                                <small class="text-muted">总分 10.0 分</small>
                            </div>
                        </div>
                        <div class="media-body">
                            <div class="table-responsive">
                                <table class="table table-bordered table-condensed testpaper-result-table">
                                    <thead>
                                        <tr>
                                            <th></th>
                                            <th>单选题 <small class="text-muted">1 道</small></th>
                                            <th>填空题 <small class="text-muted">1 道</small></th>
                                            <th>判断题 <small class="text-muted">1 道</small></th>
                                            <th>问答题 <small class="text-muted">1</small></th>
                                        </tr>
                                    </thead>
                                    <tbody>
                                        <tr>
                                            <th>答对</th>
                                            <td><span class="text-success">2 <small>道</small></span></td>
                                            <td><span class="text-success">1 <small>道</small></span></td>
                                            <td><span class="text-success">1 <small>道</small></span></td>
                                            <td rowspan="4" style="vertical-align:middle"><span class="text-success" style="font-size:40px">?</span></td>
                                        </tr>
                                        <tr>
                                            <th>答错</th>
                                            <td><span class="text-danger">0 <small>道</small></span></td>
                                            <td><span class="text-danger">0 <small>道</small></span></td>
                                            <td><span class="text-danger">0 <small>道</small></span></td>
                                        </tr>
                                        <tr>
                                            <th>未答</th>
                                            <td><span class="text-muted">0 <small>道</small></span></td>
                                            <td><span class="text-muted">0 <small>道</small></span></td>
                                            <td><span class="text-muted">0 <small>道</small></span></td>
                                        </tr>
                                        <tr>
                                            <th>得分</th>
                                            <td><span class="text-score">4 <small>分</small></span></td>
                                            <td><span class="text-score">2 <small>分</small></span></td>
                                            <td><span class="text-score">2 <small>分</small></span></td>
                                        </tr>
                                    </tbody>
                                </table>
                            </div>
                        </div>
                    </div>
 
                    <div class="text-info mbl">请完成以下题目的批阅：</div>


                </div>
            
            <div class="row">
                <div class="col-md-9 prevent-copy">
                    <div class="testpaper-body">


                        <div class="panel panel-default testpaper-question-block" id="testpaper-questions-essay">
                            <div class="panel-heading">
                                <strong class="">问答题</strong>
                                <small class="text-muted">共1题，共2分</small>
                            </div>
                            <div class="panel-body">
                                <div class="testpaper-question testpaper-question-essay " data-watermark-url="/cloud/testpaper_watermark" id="question30">
                                    <div class="testpaper-question-body">
                                        <div class="testpaper-question-stem-wrap clearfix">
                                            <div class="testpaper-question-seq-wrap">
                                                <div class="testpaper-question-seq">5</div>
                                                <div class="testpaper-question-score">2.0分</div>
                                            </div>
                                            <div class="testpaper-question-stem">
                                                <p>中国四大名著红楼梦的作者是？</p><br>
                                            </div>
                                        </div>
                                    </div>


                                    <div class="testpaper-question-footer clearfix">
                                        <div class="testpaper-question-result">

                                            <ul class="nav nav-pills nav-mini mbm">
                                                <li class="active"><a href="#studentAnswer30" data-toggle="tab">学员回答</a></li>
                                                <li><a href="#teacherAnswer30" data-toggle="tab">参考答案</a></li>
                                            </ul>
                                            <div class="tab-content mbl">
                                                <div class="tab-pane active" id="studentAnswer30"><span class="text-muted">未回答</span></div>
                                                <div class="tab-pane" id="teacherAnswer30">
                                                    <p>曹雪芹</p>
                                                </div>
                                            </div>

                                            <div class="form-horizontal">
                                                <div class="form-group">
                                                    <label class="col-sm-2 control-label">得分</label>
                                                    <div class="col-sm-3 controls">
                                                        <input data-explain="" data-widget-cid="widget-1" id="J_From" class="form-control" placeholder="得分" name="score_30" data-score="2.0" value="0" type="text">
                                                        <div class="help-block" style="display:none;"></div>
                                                    </div>
                                                </div>
                                                <div class="form-group">
                                                    <label class="col-sm-2 control-label">评语</label>
                                                    <div class="col-sm-9">

                                                        <div class="testpaper-result-essay-teacherSay">
                                                            <textarea class="form-control testpaper-question-essay-teacherSay-short" rows="1" style="overflow:hidden;line-height:20px;"></textarea>

                                                            <textarea id="question-teacherSay-long-30" class="form-control testpaper-question-essay-teacherSay-long" name="teacherSay_30" style="display:none;" data-image-upload-url="/editor/upload?token=NHxjb3Vyc2V8aW1hZ2V8MTQ2MDYzNTE5OHxmMGMyZDc4YzI2MDUwZWIyODE2NmQ5YTE0YTY5ZjFkNg" data-image-download-url="/editor/download?token=NHxjb3Vyc2V8aW1hZ2V8MTQ2MDYzNTE5OHxmMGMyZDc4YzI2MDUwZWIyODE2NmQ5YTE0YTY5ZjFkNg"></textarea>

                                                            <a class="btn btn-link btn-muted btn-sm testpaper-question-essay-teacherSay-btn" style="display:none"><span class="glyphicon glyphicon-chevron-up text-muted"></span> 收起</a>

                                                        </div>

                                                    </div>
                                                </div>

                                            </div>
                                        </div>

                                    </div>


                                </div>
                            </div>
                        </div>
                        <textarea name="teacherSay" id="teacherSay" style="display:none"></textarea>
                        <input id="passedStatus" name="passedStatus" value="" type="hidden">


                    </div>
                </div>
                <div class="col-md-3">

                    <div class="testpaper-card affix" data-spy="affix" data-offset-top="200">
                        <div class="panel panel-default">
                            <div class="panel-body">


                                <a href="#question30" class="btn btn-default btn-index noAnswer">5</a>


                                <div class="clearfix mtm mbm"></div>


                            </div>
                            <div class="panel-footer">
                                <button class="btn btn-success btn-block" id="finishCheck" data-url="/admin/article/category/create" data-toggle="modal" data-target="#myModal">完成批阅</button>
                            </div>
                        </div>
                    </div>



                </div>
            </div>


            <div class="timeout-dialog-layout">
                <div id="timeout-dialog" class="modal in" aria-hidden="false" style="display: none;">
                    <div class="modal-dialog modal-dialog-small">
                        <div class="modal-content">
                            <div class="modal-header">
                                <h4 class="modal-title">考试结束</h4>
                            </div>
                            <div class="modal-body">
                                <div class="well well-lg">
                                    <div class="empty">考试已结束，请点击下面的按钮查看结果~</div>
                                </div>
                            </div>
                            <div class="modal-footer">
                                <a href="/test/3/result" id="show_testpaper_result" class="btn btn-info">查看结果</a>
                            </div>
                        </div>
                    </div>
                </div>
            </div>

            <div class="modal fade" id="myModal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
                <div class="modal-dialog  modal-lg">
                    <div class="modal-content">
                        <div class="modal-header">
                            <button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
                            <h4 class="modal-title">完成批阅</h4>
                        </div>
                        <div class="modal-body">

                            <div class="form-group">
                                <div class="controls">
                                    <textarea class="form-control" rows="4" name="ssss" id="ssss" placeholder="请输入评语"></textarea>
                                </div>
                            </div>
                            <div class="form-group">
                                <div class="controls">
                                    <select class="form-control" name="sel1" id="sel1" onchange="change(this);">
                                        <option value="">---常用评语---</option>
                                        <option value="继续努力，继续进步！">继续努力，继续进步！</option>
                                        <option value="不错，有进步，再努力些就会更棒！">不错，有进步，再努力些就会更棒！</option>
                                        <option value="你真棒！我为你骄傲！">你真棒！我为你骄傲！</option>
                                        <option value="有点松懈了吧？继续加油吧！">有点松懈了吧？继续加油吧！</option>
                                        <option value="用心、专注、坚持，你能做的更好的！">用心、专注、坚持，你能做的更好的！</option>
                                    </select>
                                </div>
                            </div>
                            <div class="form-group">
                                <div class="col-md-4 controls">
                                    <input value="8.0" name="objectiveScore" type="hidden">
                                    试卷得分:<span id="J_To">8.0</span>
                                </div>
                                <div class="col-md-8 controls radios">
                                    <label><input name="passedStatus" value="excellent" type="radio"> 优秀</label><label><input name="passedStatus" value="good" type="radio"> 良好</label><label><input  name="passedStatus" value="passed" checked="checked" type="radio"> 合格</label><label><input name="passedStatus" value="unpassed" type="radio"> 不合格</label>
                                </div>
                            </div>
                        </div>
                        <div class="modal-footer">
                            <a href="javascript:;" class="btn btn-default" data-dismiss="modal">取消</a>
                            <button type="submit" class="btn btn-info" data-toggle="form-submit" data-target="#teacherCheckForm" id="testpaper-teacherSay-btn" data-post-url="" data-goto="/Course/FinishedRead/@Model.ExamID">完成批阅</button>
                        </div>
                    </div>
                </div>
            </div>



            <div class="testpaper-finished-dialog-layout">
                <div id="testpaper-finished-dialog" class="modal in" aria-hidden="false" style="display: none;">
                    <div class="modal-dialog modal-dialog-small">
                        <div class="modal-content">
                            <div class="modal-header">
                                <h4 class="modal-title">确认交卷</h4>
                            </div>
                            <div class="modal-body">
                                <h4 class="text-primary">您真的要交卷吗？</h4>
                            </div>
                            <div class="modal-footer">
                                <a href="javascript:;" class="btn btn-link" data-dismiss="modal">取消</a>
                                <button class="btn btn-primary" id="testpaper-finish-btn" data-saving-text="正在交卷, 请稍等...">确认交卷</button>
                            </div>
                        </div>
                    </div>
                </div>
            </div>

        </div>

 
</body>
</html>
